package com.huadi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (EmployeeApproval)表实体类
 *
 * @author makejava
 * @since 2023-07-03 15:26:48
 */
@SuppressWarnings("serial")
public class EmployeeApproval extends Model<EmployeeApproval> {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long unitEmployeeId;

    private String approvalStatus;

    private String approvalComments;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUnitEmployeeId() {
        return unitEmployeeId;
    }

    public void setUnitEmployeeId(Long unitEmployeeId) {
        this.unitEmployeeId = unitEmployeeId;
    }

    public String getApprovalStatus() {
        return approvalStatus;
    }

    public void setApprovalStatus(String approvalStatus) {
        this.approvalStatus = approvalStatus;
    }

    public String getApprovalComments() {
        return approvalComments;
    }

    public void setApprovalComments(String approvalComments) {
        this.approvalComments = approvalComments;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

